package com.qiangou.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.entity.Student;
import com.qiangou.dao.impl.StudentDaoImpl;
import com.qiangou.service.StudentService;

@Service("studentService")
public class StudentServiceImpl implements StudentService{
	@Resource(name="studentDao")
    private StudentDaoImpl studentDao;

	@Override
	public void saveStudent(Student s) {
		studentDao.save(s);
	}

}
